package Reader;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) throws IOException {
        FileInputStream inputStream = new FileInputStream("D:\\test\\a.java");
        int read=-inputStream.read();
       while (read != -1){

           System.out.println(read);
           read=inputStream.read();
       }
        inputStream.close();

    }
}
